import  'babel-polyfill'
import Vue from 'vue'
import App from './App'
import fastclick from 'fastclick'
import router from './router'
import store from './store'
import VueLazyLoad from 'vue-lazyload'

import 'common/stylus/index.styl'



//解决按钮或者div的点击没有3秒的延迟
fastclick.attach(document.body)

Vue.use(VueLazyLoad, {
  loading: require('common/image/timg.gif')
})

/* eslint-disable no-new */
new Vue({
  el: '#app',
  render:h=>h(App),
  store,
  router

})
